package com.koron.order.linepatrol.uav.converter;

import com.koron.order.linepatrol.uav.bean.VO.LinePatrolUnv;
import com.koron.order.linepatrol.uav.bean.excel.LinePatrolExcel;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

/**
 * @ClassName: LinePatrolUnvConverter
 * @Description:
 * @Date: 2023/2/10
 * @Author: 李一辰
 * @Version: 1.0
 **/
@Mapper(componentModel = "spring")
public interface LinePatrolUnvConverter {

    @Mapping(target = "defectiveLevel",source = "defectLevel")
    LinePatrolUnv excelToEntity(LinePatrolExcel linePatrolExcel);

}
